package io.renren.modules.skate.service;

import io.renren.common.service.CrudService;
import io.renren.modules.skate.dto.FNewsDTO;
import io.renren.modules.skate.entity.FNewsEntity;

import java.util.List;

/**
 * 新闻表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 3.0 2023-11-28
 */
public interface FNewsService extends CrudService<FNewsEntity, FNewsDTO> {

    List<FNewsDTO> getNewsByType(Integer classId, Integer type);

    List<FNewsDTO> getCoachByType(Integer type);

    List<FNewsDTO> queryNewsList(Integer classId);
}